package com.future.requestbean;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.Range;

import lombok.Data;

@Data
public class BjUpdate {
	@NotNull(message = "选择要操作的记录")
	private Long classid;
	@NotBlank(message = "班级名字不能为空")
	private String classname;
	@NotNull(message = "人数不能为空")
	@Range(min = 0)
	private Integer rs;
}
